Comments (13)
Oh boy oh boy. I'll see what's up.
from java-client.
There is also an issue with switching contexts when having 2.42.0 as a dependency.
Running the AndroidWebViewTest.java
sample results in the following error (which is all client-side, no server logs):
org.openqa.selenium.remote.UnreachableBrowserException: Error communicating with the remote browser. It may have died.
Build info: version: '2.42.0', revision: '5e824302019c86eae9c8c3ca9155e7307b410cf8', time: '2014-05-24 09:48:41'
System info: host: 'isaac.local', ip: '10.35.4.58', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.9.2', java.version: '1.7.0_45'
Driver info: driver.version: AppiumDriver
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:590)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:81)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:92)
at io.appium.java_client.AppiumDriver.getContextHandles(AppiumDriver.java:493)
at com.saucelabs.appium.AndroidWebViewTest.webView(AndroidWebViewTest.java:43)
...
Downgrading to 2.41.0 solves it.
from java-client.
Hmm, I updated the maven dependency and all tests still passing.
What code did you run to trigger this error?
from java-client.
The Appium sample code AndroidWebviewTest.java
. In the pom.xml
file, it consistently fails if I use
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>LATEST</version>
<scope>test</scope>
</dependency>
If I change it, it works:
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>2.41.0</version>
<scope>test</scope>
</dependency>
Running, from appium/sample-code/examples/java/junit,
mvn -Dtest=com.saucelabs.appium.AndroidWebViewTest test
from java-client.
Thanks. Will keep working on this.
from java-client.
Okay, working on an update to java-client.
from java-client.
It's confirmed as Selenium bug. Endpoints for contexts were accidentally deleted. Working on a PR to Selenium
from java-client.
here we are. I found this issue just now..
from java-client.
Looks like selenium will do a java release tomorrow.
from java-client.
Working on a new release of java-client.
Plus @pkastner's original issue will be resolved by some dependency refactoring I've done.
from java-client.
Released as 1.3.0, should fix.
Reopen if still having issues.
from java-client.
Thanks for the great work 👍
from java-client.
yay!
from java-client.
Related Issues (20)
- Cannot cast WebDriver object to AndroidDriver object. java.lang.ClassCastException exception is thrown HOT 5
- setLocation with "io.appium.java_client.Location" throws "Error: longitude must be provided"
- Incorporate Poll Delay in Appium Fluent Wait HOT 2
- Failed resolution of: Ljava/net/http/HttpClient; HOT 5
- Not able to run mobile app tests using mvn clean test command and seen errors java. lang. NoClassDefFoundError: org/openqa/selenium/remote/RemoteWebElement & java. lang. NoClassDefFoundError: io/appium/java_client/proxy/HasMethodCallListeners. HOT 13
- bug: AppiumFieldDecorator: Memory leak after moving from java-client 8.5.0 to 8.5.1 .... 9.1.0 HOT 11
- Change default strategy for @HowToUseLocators programatically HOT 5
- bug: IllegalAccessError when starting AndroidDriver in Appium 9.1.0 HOT 4
- The import io.appium.java_client.android.AndroidElement cannot be resolved HOT 1
- How to start an Activity using mobile: startActivity with OptionalIntentArguments? HOT 6
- InvalidArgumentError: Both latitude and longitude should be set HOT 3
- I can't get any appium tests to run HOT 2
- bug: BaseActivateApplicationOptions setting does not take effect HOT 1
- org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure HOT 12
- bug: BaseActivateApplicationOptions setting does not take effect
- bug: BaseActivateApplicationOptions setting does not take effect HOT 1
- io.appium.uiautomator2.common.exceptions.NoSuchDriverException
- Do you plan to provide an extended Driver like UiAutomator2Options?
- getImagesSimilarity(byte[] base64image1, byte[] base64Image2) is not supported by the mapped resource HOT 3
- org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. HOT 2
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 java-client.