Contact emails
she...@gmail.com, bo...@chromium.org
Spec
https://w3c.github.io/webdriver/webdriver-spec.html#interface
Summary
Add enumerable, non-configurable, readonly property `webdriver` to navigator object of a window global object. Property is `true` if CommandLine has either “enable-automation“ or “headless“ switch. Otherwise is `false`.
Motivation
Currently, web developers use various non-obvious ways to infer if user agent is controlled by an automation. This change exposes a standard way for a co-operating user agent to inform a website that the user agent is controlled by automation.
Interoperability and Compatibility Risk
Should it also be exposed on navigator if global object is WorkerGlobalScope?
Edge: No signals
Firefox:No signals
Safari: Shipped
Web developers: Positive
Ongoing technical constraints
None.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
OWP launch tracking bug
Link to entry on the feature dashboard
Requesting one
Requesting approval to ship?
Yes.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAPkvmc98QJr3-RrVpdj%2B1%2BzvDVcCtmvtQZoM1zEYfdqS-ixEbw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADnb78hDO5ZhjDz%3DA3pxBcC0d2ARn1uU3LjqHua5x%2BT48aHuhQ%40mail.gmail.com.
Philip,> I've tested Safari 10.1 and found something strange: navigator.webdriver is undefined, but 'webdriver' in navigator is true. I don't think that behavior particularly makes sense, but it could be achieved by changing the Web IDL type from boolean to any, and making the prose return true or undefined.I am trying to address returning boolean in https://bugs.webkit.org/show_bug.cgi?id=171997. CC-ing Chris Dumez from Apple.
> Sergey, what behavior were you hoping to ship? Can you make sure that https://github.com/w3c/web-platform-tests/blob/master/webdriver/interface.html is updated to match whatever ends up in the spec and Blink?What I was hoping to ship was aligned with the draft of the spec on GitHub. With Anne's comments, [Unforgeable] is reverted and WorkerNavigator should be covered as well. I'll make sure to align WebKit and Blink to the spec that we'll agree on.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAPkvmc932LNm%3Dfr_fL287hdDA%3DrLKnf5r64yeRXWhVg%3DgyDGUg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAPkvmc932LNm%3Dfr_fL287hdDA%3DrLKnf5r64yeRXWhVg%3DgyDGUg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYespbQ1ofVK7sc0agu%3Do9JuKRm4bPwRVjvNZGXnHjB2%3DA%40mail.gmail.com.