← Back to team overview

sikuli-driver team mailing list archive

[Bug 1859910] Re: [2.0.1] Selenium is not working in Sikuli IDE

 

a jar to be used in script must be on class path before IDE/script start
(since Java 9+)

** Changed in: sikuli
       Status: In Progress => Won't Fix

** Changed in: sikuli
    Milestone: 2.0.2 => None

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to SikuliX.
https://bugs.launchpad.net/bugs/1859910

Title:
  [2.0.1] Selenium is not working in Sikuli IDE

Status in SikuliX:
  Won't Fix

Bug description:
  To run selenium in sikulix-2.0.1 i am running below code i am getting error message but if i am running selenium  in sikulix1.1.3 it is working.
  could please fix in sikulix-2.0.1

  import os
  import sys
  load("selenium-server-standalone-3.141.59.jar")
  from org.openqa.selenium.chrome import ChromeDriver
  browser= ChromeDriver(op)
  browser.get('http://www.google.com')

  
  [error] script [ sikulitemp-8237316473222044562 ] stopped with error in line 5
  [error] java.lang.NoSuchMethodError ( java.lang.NoSuchMethodError: com/google/common/util/concurrent/SimpleTimeLimiter.create(Ljava/util/concurrent/ExecutorService;)Lcom/google/common/util/concurrent/SimpleTimeLimiter; (loaded from file:/C:/Users/kry3/Desktop/Sikulix_1_4/Sikulix2/sikulix-2.0.1.jar by jdk.internal.loader.ClassLoaders$AppClassLoader@729a76d5) called from class org.openqa.selenium.net.UrlChecker (loaded from <Unknown> by org.python.core.SyspathJavaLoader@c1d65f02). )
  [error] --- Traceback --- error source first
  line: module ( function ) statement 
  5: main (  <module> )     browser= ChromeDriver(op)
  [error] --- Traceback --- end --------------
  Starting ChromeDriver 2.41.578737 (49da6702b16031c40d63e5618de03a32ff6c197e) on port 10015
  Only local connections are allowed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1859910/+subscriptions



References