operachromiumdriver
operachromiumdriver copied to clipboard
desktop.md - are the capabilites string examples not correct?
I tried to use capabilites string examples from here: https://github.com/operasoftware/operachromiumdriver/blob/master/docs/desktop.md
Unfortunately, no luck.
My finall workable versoin is
{
"capabilities":{
"alwaysMatch":{
"goog:chromeOptions":{
"w3c":true,
"excludeSwitches":[
"enable-automation"
],
"binary":"C:\\Users\\Szef\\AppData\\Local\\Programs\\Opera\\opera.exe"
}
}
}
}
so my question is:
Are the capabilites string examples form desktop.md
not correct?
@mlipok for selenium 4 its better to use ChromeOptions instead of capabilities Take a look at new examples i pushed today in PR https://github.com/operasoftware/operachromiumdriver/pull/106
https://github.com/aleksandr-kotlyar/operachromiumdriver/blob/32ce4b702188c21e2cd1faf0854a47a6a229e4f7/examples/desktop_selenium_4.x.py
@mlipok for selenium 4 its better to use ChromeOptions instead of capabilities
Ok. So I ask if this following document: https://github.com/operasoftware/operachromiumdriver/blob/master/docs/desktop.md
should be changed accordingly?
Are the capabilites string examples form
desktop.md
not correct?
It was my question in OP but maybe not well worderd.
@mlipok for selenium 4 its better to use ChromeOptions instead of capabilities
Ok. So I ask if this following document: https://github.com/operasoftware/operachromiumdriver/blob/master/docs/desktop.md
should be changed accordingly?
Merged. Should be actual now. ;-)
I had in a mind that using: https://github.com/operasoftware/operachromiumdriver/blob/495bb0313bb59fc0f92acc2887ec9b60ef3395e8/docs/desktop.md?plain=1#L42-L46 or https://github.com/operasoftware/operachromiumdriver/blob/495bb0313bb59fc0f92acc2887ec9b60ef3395e8/docs/desktop.md?plain=1#L58-L62
failed when I was used it.
I asked/proposed to change to something like this:
"goog:chromeOptions":{
"w3c":true,
"excludeSwitches":[
"enable-automation"
],
"binary":"C:\\Users\\Szef\\AppData\\Local\\Programs\\Opera\\opera.exe"
}
summary:
specifically 'operaOptions'
was wrong in my cases and I had to use `"goog:chromeOptions"
btw.
Of course I can be wrong, becuase I not use Selenium/Python, instead of I use AutoIt and we automate websites with sending HTTP request to running instance of operadriver.exe