apparition
apparition copied to clipboard
Capybara driver for Chrome using CDP
## Background I use Apparition to automatically detect the presence of certain JavaScript frameworks on different websites. Basically, I load the site (using `#visit`), and then I run a script...
Even adding just `` to long_page.erb will kick Chrome into a different rendering mode but setting html's height to 100% seems to be the more reliable method. Fixes #39.
First time using this instead of any other JS drivers, so thanks for the framework and exciting! I'm trying to write a test for a Stripe checkout.js page (subscribing to...
I'm trying to read the clipboard, like so: ``` page.driver.browser.command( 'Browser.setPermission', permission: { name: 'clipboard-read' }, setting: 'granted') clip_text = page.evaluate_async_script('navigator.clipboard.readText().then(arguments[0])') ``` but I get told `error: DOMException: Read permission...
First: thank you for this gem! Since there are no changes for quite some time, please let me know if it is still maintained.
Attempt to recreate the test rig in GH Actions. This adds a testing matrix with Ruby versions, and installs a Chrome, using an Action for that.
Fix apparition overriding the `user-data-dir` even if it was specified in `browser_options`