Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: w3c/webdriver
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: w3c/webdriver
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: actions_multiple_contexts
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jan 7, 2025

  1. Improve support for actions involving multiple navigables

    This makes the following changes:
    
    * Actions are always dispatched first to the top-level traversable
    rather than directly to the target navigable. It is assumed that the
    action will end up interacting with the target traversable, but may
    not e.g. if there is an element obscuring the target, or the focus is
    in the wrong place.
    
    * To support the above, coordinates are computed relative to the
    viewport of the top-level traversable rather than the target
    navigable.
    
    * A new coordinate origin type is introduced which has the form:
      ```
      {
        type: "viewport",
        context: <context id>
      }
      ```
    
      This is designed to allow targeting inside a specific iframe without
      that iframe needing to be the target of the overall actions chain.
    
    The existing behaviour that if the main target navigable is deleted
    the action chain is terminated remains. This makes the behaviour
    consistent between top-level traversables and iframes, and also
    between different actions.
    jgraham committed Jan 7, 2025
    Configuration menu
    Copy the full SHA
    1866cff View commit details
    Browse the repository at this point in the history
Loading