Skip to content

feat: Add Safari driver options#731

Merged
mykola-mokhnach merged 2 commits intoappium:masterfrom
mykola-mokhnach:safari_opts
Jun 20, 2022
Merged

feat: Add Safari driver options#731
mykola-mokhnach merged 2 commits intoappium:masterfrom
mykola-mokhnach:safari_opts

Conversation

@mykola-mokhnach
Copy link
Copy Markdown
Contributor

No description provided.


from appium.options.common.supports_capabilities import SupportsCapabilities

DEVICE_UDID = 'safari:deviceUdid'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

safari:deviceUDID? man safaridriver had safari:deviceUDID.
I haven't tried, but this could be case sensitive

 safari:deviceUDID
         safaridriver will only create a session using hosts whose device UDID matches the value of
         safari:deviceUDID.  Device UDIDs are compared case-insensitively.
         NOTE: If Xcode is installed, UDIDs for connected devices are available via the output of instruments(1)
         and in the Devices and Simulators window (accessed in Xcode via "Window > Devices and Simulators").

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch. fixed

@mykola-mokhnach mykola-mokhnach merged commit 2201e90 into appium:master Jun 20, 2022
@mykola-mokhnach mykola-mokhnach deleted the safari_opts branch June 20, 2022 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants