Code Monkey home page Code Monkey logo

Comments (2)

PavithraNavaneeth avatar PavithraNavaneeth commented on June 26, 2024

Any update on this bug?
For me, in the login page after submit it is not waiting for the new page load to complete and the new element.click is throwing the below error (if i don't mention Thread.sleep)

Exception in thread "DefaultMessageHandler-161" org.openqa.selenium.WebDriverException: Error creating an event generated by the webview:{"method":"DOM.childNodeInserted","params":{"node":{"childNodeCount":0,"localName":"iframe","nodeId":192,"nodeValue":"","nodeName":"IFRAME","attributes":["frameborder","0","style","border: 0px; vertical-align: bottom; position: absolute; left: 1px; top: 1px; height: 1px; width: 1px; visibility: hidden; ","src","javascript:"""],"nodeType":1},"parentNodeId":154,"previousNodeId":191}}
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.7.4', java.version: '1.7.0_25'
Driver info: driver.version: unknown
at org.uiautomation.ios.wkrdp.events.EventFactory.createEvent(EventFactory.java:33)
at org.uiautomation.ios.context.BaseWebInspector.onMessage(BaseWebInspector.java:545)
at org.uiautomation.ios.wkrdp.internal.DefaultMessageHandler.process(DefaultMessageHandler.java:76)
at org.uiautomation.ios.wkrdp.internal.DefaultMessageHandler.access$000(DefaultMessageHandler.java:31)
at org.uiautomation.ios.wkrdp.internal.DefaultMessageHandler$1.run(DefaultMessageHandler.java:64)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.uiautomation.ios.wkrdp.events.EventFactory.createObject(EventFactory.java:45)
at org.uiautomation.ios.wkrdp.events.EventFactory.createEvent(EventFactory.java:29)
... 4 more
Caused by: org.json.JSONException: JSONObject["contentDocument"] not found.
at org.json.JSONObject.get(JSONObject.java:499)
at org.json.JSONObject.getJSONObject(JSONObject.java:593)
at org.uiautomation.ios.wkrdp.events.inserted.ChildIframeInserted.(ChildIframeInserted.java:59)
... 10 more

from ios-driver.

coding-yogi avatar coding-yogi commented on June 26, 2024

though this issue has been raised long back.. even I am facing this issue with latest server jar.
ImplicitWait doesnt seem to help either. I think you can fire a java script and keep it polling till load status is complete

from ios-driver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.