How to set chrome grill work for centos 6.6 to run selenium test cases in python

I downloaded and tried the entire version of the chrome key in my centos 6.6 version to run selenium.

I followed this up: http://selftechy.com/2011/08/17/running-selenium-tests-with-chromedriver-on-linux

I get an error as shown below:

./chromedriver: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./chromedriver)

I am trying to run this test python script:

driver = webdriver.Chrome('/home/intel/Downloads/chromedriver')
driver.get('http://www.google.com/xhtml')
time.sleep(5) # Let the user actually see something!
search_box = driver.find_element_by_name('q')
search_box.send_keys('ChromeDriver')
search_box.submit()
time.sleep(5) # Let the user actually see something!
driver.quit()
+4
source share
3 answers

, , RPM CentOS 6 http://downloads.onrooby.com/chromium/rpms/, /opt/chromium -browser/chromedriver

0

, , chromedriver amazon linux, centos 6.x rhel. libs .

. . Https://github.com/staier/chromedriver-centos6-installation

0
source

Source: https://habr.com/ru/post/1584046/


All Articles