Skip to content

Headless Chrome 79: Cannot switch to IFrame due "frame: invalid argument: 'id' can not be string" #315

Description

@jepster

Hi,

I am trying to switch into an iframe, but I cannot in the current headless Chrome version. Looks like a faulty interface is being used in the following method which accepts a string, but should accept an (DOM)-object:

\Behat\Mink\Driver\Selenium2Driver::switchToIFrame()

Since I am getting the following error from my Chromedriver:

And I switch to the "entity_browser_iframe_media_browser" frame: invalid argument: 'id' can not be string
  (Session info: headless chrome=79.0.3945.117)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'd3ef7b5a8c17', ip: '172.17.0.3', os.name: 'Linux', os.arch: 'amd64', os.version: '4.19.78-coreos', java.version: '1.8.0_232'
Driver info: driver.version: unknown (Exception)

Other testing libraries are also complying about such a change: nightwatchjs/nightwatch#2135

Do you know how to solve that? Is there any updated version is the build?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions