galen-sample-tests icon indicating copy to clipboard operation
galen-sample-tests copied to clipboard

running tests in other browsers

Open biswajit-713 opened this issue 8 years ago • 1 comments

I tried the following options to run the tests on browser different from default firefox but was not successful. Is there anything else that I need to do? Surprisingly my other galen tests run smoothly if I change the browser in the config file.

  1. change default browser in galen.config
  2. pass Dwebdriver.chrome.driver path in the test command or in run.sh

biswajit-713 avatar Aug 29 '16 02:08 biswajit-713

I tried the same first, but did not work out. Then in the openDriverForDevice() in galen-bootstrap.js, please change as below before returning the driver commenting the previous initialization of driver

var driver = createDriver(fullUrl, "1280x800","chrome");

Yet to figure out how to pass the device resolution !

navyakanu avatar Dec 13 '16 19:12 navyakanu