* Add `Application` back, require it for `WebviewBuilder`
Linux only so far. Until further notice, this entire branch is going to only
work on Linux until I can decide on a good interface to expose WebDriver stuff.
`Application` makes it so that multiple windows can share a single WebContext
and UserContentManager (data directory). This is required for WebDriver because
only a single `WebContext` is allowed to be marked to allow automation. It
seems that macOS and Windows have similar limitations to some extent.
Only the multi_window example has been updated so far.
* Create automated webviews from webdriver clients
again, linux only for now.
updated detect_js_ecma example also
* cargo +nightly fmt
* update env var value for automation
* allow closing the window from the webdriver client
* add support for win32 windows
* add wry::Application support to macOS
* change how ApplicationExt work to match std
* update all examples to use wry::Application
* remove now unneeded uuid dependency
* add webdriver support to new example
* cargo +nightly fmt
* remove automation flag from mac/win ApplicationInner
* allow dead_code in Application inner field
is there a better proper fix? probably - but we will be redoing this interface
soon I imagine.
* cargo +nightly fmt
* update all WebviewBuilder::new calls
* cargo +nightly fmt
* super builder
* update ecma example
* enable automation if specific build env is set
* change build env var to feature
* move the super builder to its own module
* cargo +nightly fmt
* update builder docs
* explicitly allow inlining on wry::Builder
* revert everything to dev
* update webkit2gtk to v2_18 to allow for automation
* set custom cfg on rustdocs to allow for nightly doc features
* simplify application module
* enable nightly doc features when cfg is set
* add WebContext as a required item to `WebViewBuilder`
* add changes file
* move web_context to build from new
* update WebContextData path for windows,macos
* mark WebContextData as private
* update examples and doc tests
* allow os impl WebContextImpl to be dead_code
* fix windows webview builder initialization
* add winrt note to add window close event handler
* add smart link to WebContext docs
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
* update WebContext doc smartlink
* remove doc_cfg from empty non-linux WebContextImpls
* fix clippy error in unrelated code
* make clippy happy (new nightly lints)
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
* Adds tests to detect_js_ecma example
Adds additional verifications to the detect_js_ecma.rs example, and provides a summary as well as a detailed view of what tests were run and their result.
* Refactors to avoid requerying the document for elements
Co-authored-by: Andrew McCluskey <andrew.m.mccluskey@googlemail.com>