← Back to team overview

sikuli-driver team mailing list archive

[Bug 1859910] [NEW] Selenium is not working in Sikuli IDE

 

Public bug reported:

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.

** Affects: sikuli
     Importance: Undecided
         Status: New

** Information type changed from Private Security to Public

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

Title:
  Selenium is not working in Sikuli IDE

Status in Sikuli:
  New

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


Follow ups