Comments (2)
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.
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)
- Unknown option: -simulators
- The server cannot run Capabilities HOT 3
- Invalid or corrupt jarfile ios-server-standalone-0.6.6-SNAPSHOT.jar HOT 1
- Invalid or corrupt jarfile ios-server-standalone-0.6.6-SNAPSHOT.jar HOT 1
- NullPointerException in MessageFactory when trying to test on real device HOT 2
- "Keyboard failed to appear" Thrown When Using A Non-Default Keyboard Layout
- ios-driver node problem: cannot register a node to a running grid hub HOT 6
- is there plan to do major release since 6.5? HOT 4
- ios-driver does not work with clickAndHold on canvas.
- Scroll Does not work on safari . HOT 1
- Cannot get iPad Simulator Safari to work HOT 2
- performTaskWithPathArgumentsTimeout Stucks when any alert/Action sheet appears .
- How to open new window (OpenWindow command) in iphone devices using selenium webdriver
- Lacking instruments_no_delay for XCode 7.3 HOT 5
- ios-driver execution compatibility with which versions of (Mac,xCode,ios) HOT 3
- Timeout waiting for target application
- XCode 8.0 removes UIAutomation from Instruments
- I use libimobiledevice-wrapper and I get some problem
- Dead Links in Documentation? HOT 1
- Is this project still active?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ios-driver.