But I did eventually figure out how to get ChromeDriver Canary to, well, drive Canary. Why? I don’t know, the layers of who’s driving what using what configuration settings here (between WebDriver.io, ChromeDriver, and actual Chrome) confuse me. Given the script above, ChromeDriver Canary (and the script) will fail, because ChromeDriver Canary will still try to start up regular-old stable Chrome. (It might go without saying but: quit regular ChromeDriver before you do this). TL DR you have to jump through a hoop or two to hunt for the very latest ChromeDriver build from within in a big hairy directory containing many thousands of Chromium snapshots, download it, and run it. Getting ChromeDriver Canary isn’t terribly easy, but it is well-documented. The stock version will only work with the stable version of Chrome. So, how do I get that little Chrome window to be a Canary window?įirst things first, we need a new ChromeDriver. Const = require( 'webdriverio' ) Īnd a little Chrome window pops up and my script is controlling and reading information from it programmatically and it’s great.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |