question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to switchToFrame in Android Chrome using W3C format

See original GitHub issue

The problem

Command https://github.com/appium/appium-base-driver/blob/e0f442f391806f10cc173906df1ffcbab71a9a26/lib/protocol/routes.js#L101 doesn’t support W3C format

Environment

  • Appium version (or git revision) that exhibits the issue: 1.14.0
  • Mobile platform/version under test: Android, hybrid app, Chrome 45, Chromedriver 45

Details

when passing body

{
    id: { 
        "element-6066-11e4-a52e-4f735466cecf": "ELEMENT-57"
    }
}

https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L101 command fails with error: ELEMENT is missing

Code To Reproduce Issue [ Good To Have ]

it depends on language, with webdriverio it is browser.switchToFrame('iframe')

original issue: https://github.com/webdriverio/webdriverio/issues/4265

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
mykola-mokhnachcommented, Jul 29, 2019
1reaction
mykola-mokhnachcommented, Jul 30, 2019

Published the fix to appium@beta

Read more comments on GitHub >

github_iconTop Results From Across the Web

webdriverio/webdriverio - Gitter
Actually I am unable to access or take control of the Iframe. ... (ex chromedriver) excepts command in non w3c format for some...
Read more >
chrome/test/chromedriver/test/run_py_tests.py - chromium/src
Android doesn't use the chrome://print dialog. 'ChromeDriverTest. ... Page cannot be loaded from file:// URI in Android unless it ... SwitchToFrame(element).
Read more >
WebDriver - W3C
WebDriver is a remote control interface that enables introspection and control of user agents. It provides a platform- and language-neutral ...
Read more >
Unable to switch to frame while testing on IE but it is working ...
I tried switching frame by WebElement ,index,name as well. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"> <html> <frameset id= ...
Read more >
Downloads - ChromeDriver - WebDriver for Chrome
If you are using Chrome version 94, please download ChromeDriver 94.0. ... Android OS's like on OnePlus; Resolved issue 3733: Catastrophic failure with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found