-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JS] stop sending desiredCapabilities to local and remote end
- Loading branch information
Showing
2 changed files
with
14 additions
and
241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fa6deee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it mean that passing such capabilities, like "timeZone", "enableVNC" will no longer available?
We have an issue that with selenium-webdriver 4.5 and selenoid capability "timeZone" is not working.
fa6deee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All non W3C WebDriver capabilities need to be prefixed. For example, in the Docker Selenium Grid, to set a time zone, you need to prefix it like this
se:timeZone
.fa6deee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How would we do with desiredCapabilities, like "app" after this change? I am trying to launch windows application with this. but I got bad request with the latest version, because the property "app" will be deleted in filterNonW3CCaps()....
Hope somebody get my message.
fa6deee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to prefix it, if it is
app
from Appium, thenappium:app
fa6deee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@diemol Thanks for reply.
I am using Windows Application Driver, I also tried add prefix the property, like below
{
browserName: '',
platformName: 'Windows', // and also with "windows"
deviceName: 'WindowsPC',
'appium:app': 'Microsoft.WindowsCalculator_8wekyb3d8bbwe!App'
}
After some research, it looks like a problem on WinAppDriver side, it does not adjust with the newest appium/selenium.
Thanks anyway.