Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-31695

Element is not currently visible error for selenium test, while the test was running fine from eclipse

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • selenium-plugin
    • None

      Jenkins version 1.638
      <dependency>
      <groupId>org.seleniumhq.selenium</groupId>
      <artifactId>selenium-java</artifactId>
      <version>2.48.2</version>
      </dependency>
      <dependency>
      <groupId>org.seleniumhq.selenium</groupId>
      <artifactId>selenium-server</artifactId>
      <version>2.48.2</version>
      </dependency>
      <dependency>
      <groupId>org.seleniumhq.selenium</groupId>
      <artifactId>selenium-firefox-driver</artifactId>
      <version>2.48.2</version>
      </dependency>

      I ran a maven selenium test and basically it was trying to locate a text box. The test was running perfectly from eclipses, but when I ran it from Jenkins, the test hanged with the step finding that element..

      I noticed that the selenium web driver updated recently, I updated it from eclipse, not sure if this happened was because Jenkins was using a different web driver then what I had? Or what other possible causes that might trigger that problem?

      Error message:
      Error:org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with
      Command duration or timeout: 3.09 seconds

            darkrift Richard Lavoie
            yueran yueran zeng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: