Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new capabilities for safari driver: automaticInspection and automaticProfiling #6095

Merged
merged 2 commits into from Jul 14, 2018

Conversation

email2vimalraj
Copy link
Contributor

Fixes #5307

@lmtierney
Copy link
Member

lmtierney commented Jun 29, 2018

Is there anywhere these are documented?

@barancev
Copy link
Member

They are documented here:
https://webkit.org/blog/6900/webdriver-support-in-safari-10/

@barancev
Copy link
Member

The problem is that these new capabilities don't follow W3C rules for capabilities...

@email2vimalraj
Copy link
Contributor Author

@lmtierney @barancev I am raising this PR after a discussion on this with @shs96c during the "fix a bug be a committer" workshop that I attended two days back here in SeConf18 in Bangalore. As per my understanding I believe that some exceptions could be allowed.

@shs96c can you please chime in ?

@shs96c
Copy link
Member

shs96c commented Jul 10, 2018

@barancev all options are added to the safari.options capability, which is unchanged for a long time.

I'm pinging Apple to try and figure out the right place to set this stuff. From the docs, it's not clear.

@shs96c
Copy link
Member

shs96c commented Jul 13, 2018

I've had a conversation with the developer at Apple who's working most on safaridriver. Apparently, the options can be added as normal capabilities prefixed with safari:

@shs96c
Copy link
Member

shs96c commented Jul 14, 2018

I'm tempted to merge this in and then make the fixups afterwards. Any objections from anyone?

@shs96c
Copy link
Member

shs96c commented Jul 14, 2018

OK. My plan is to squash and merge this and then fix it up. This is a first commit from the "Fix a Bug, Become a Committer" workshop, so I'd like to thank @email2vimalraj for both attending and committing :)

@shs96c shs96c merged commit 3497882 into SeleniumHQ:master Jul 14, 2018
@shs96c
Copy link
Member

shs96c commented Jul 14, 2018

Congratulations on your first commit, @email2vimalraj!

@mmerrell
Copy link
Contributor

mmerrell commented Jul 14, 2018 via email

@email2vimalraj
Copy link
Contributor Author

Thanks a lot for merging this PR. I'll try to contribute more.

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.

None yet

5 participants