Fix array reference for wdio.