Repository navigation
docs: document the plain Ferrum browser and the changes since 0.21 - #400
Merged
Merged
Conversation
…age as the switched-to window
…'s unused page argument
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #399.
Docs:
page.driver.browseris a plainFerrum::Browserwhose methods run in the first window's main frame, also insidewithin_window/within_frame;page.driver.current_pageis the switched-to window. Updates the introduction, Windows & Frames, Modals (which calls raiseUnhandledModalError) and Errors (a dead browser restarts onreset!).Changelog: Unreleased lists the behavior changes and removals of ref: remove what 0.21 deprecated #396–ref(driver): drive a plain Ferrum browser and keep Capybara's windows in the driver #399 with their PRs.
Fix: with
emulate:,browser.default_user_agentis Chrome's again, as the 0.21 changelog promises. ref(driver): drive a plain Ferrum browser and keep Capybara's windows in the driver #399 had set it to the device's on Ferrum's shared options; the device user agent is now only passed tonetwork.emulate. Not released, so no changelog entry.Naming:
Driver#active_frameiscurrent_frame, matchingcurrent_pageand Capybara'scurrent_*names, andDriver#windowdrops thepageargument nobody passed. Both are@api private.