Giter VIP home page Giter VIP logo

Comments (13)

Jonahss avatar Jonahss commented on July 21, 2024

Oh boy oh boy. I'll see what's up.

from java-client.

imurchie avatar imurchie commented on July 21, 2024

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.

Jonahss avatar Jonahss commented on July 21, 2024

Hmm, I updated the maven dependency and all tests still passing.

What code did you run to trigger this error?

from java-client.

imurchie avatar imurchie commented on July 21, 2024

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.

Jonahss avatar Jonahss commented on July 21, 2024

Thanks. Will keep working on this.

from java-client.

Jonahss avatar Jonahss commented on July 21, 2024

Okay, working on an update to java-client.

from java-client.

Jonahss avatar Jonahss commented on July 21, 2024

It's confirmed as Selenium bug. Endpoints for contexts were accidentally deleted. Working on a PR to Selenium

from java-client.

 avatar commented on July 21, 2024

here we are. I found this issue just now..

from java-client.

Jonahss avatar Jonahss commented on July 21, 2024

Looks like selenium will do a java release tomorrow.

from java-client.

Jonahss avatar Jonahss commented on July 21, 2024

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.

Jonahss avatar Jonahss commented on July 21, 2024

Released as 1.3.0, should fix.

Reopen if still having issues.

from java-client.

pkastner avatar pkastner commented on July 21, 2024

Thanks for the great work 👍

from java-client.

Jonahss avatar Jonahss commented on July 21, 2024

yay!

from java-client.

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.