Current time: 11-13-2019, 02:30 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
wptdriver always using first browser listed
05-31-2014, 06:07 AM
Post: #7
RE: wptdriver always using first browser listed
Hi,

Thanks for your help with this. I think we're there now - there appears to be a bug in the wpt-script which we've made a fix for (essentially, as you could see it was supplying the browser as a separate option rather than appended to the location.)

I'm not sure yet if this doesn't break some default behaviour so I won't submit it back at this point.

But for anyone else who may find this helpful:

around line 190 of WebpagetestClient.php do:
//Stop location + browser being 2 options
// $options['location'] = $location['location'];
// $options['browser'] = $location['browser'];
//Replace it so it's a single location option.
$options['location'] = $location['location'].":".$location['browser'];

And on line 208:
// $this->log("Started $login_string test for $url / {$options['location']} / {$options['browser']}");
// $options['browser'] doesn't exist anymore
$this->log("Started $login_string test for $url / {$options['location']} / {$location['browser']}");

Thanks again for your help!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: wptdriver always using first browser listed - richiemarshall - 05-31-2014 06:07 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)