Survey banner
The Dataiku Community is moving to a new home! We are temporary in read only mode: LEARN MORE

How to use selenium chrome driver in python recipe by authenticating thorugh digital cert

gogo
Level 2
How to use selenium chrome driver in python recipe by authenticating thorugh digital cert

I need step by step help with installing chrome driver. I have already installed package selenium in my code env lets assume the name of the Code Env is "web_reports". Please provide the dependencies or guide to  open an URL by authenticating via digital certificate.

I want to download some reports from that website using this "web_reports" Code Env into a dataset.

I need help with setting up the downloading location to dataiku datset so that when i click download button it is download to dataiku dataset.

0 Kudos
4 Replies
Turribeach

It will be helpful if you post the steps you followed and any errors that you are getting. 

0 Kudos
gogo
Level 2
Author

when I ran >>> driver.get(url)

Please provide instructions on how to install chrome webdriver in dataiku

 

Error sending stats to Plausible: error sending request for url (https://plausible.io/api/event)
SessionNotCreatedException: Message: session not created: Chrome failed to start: exited normally.
  (session not created: DevToolsActivePort file doesn't exist)
  (The process started from chrome location /home/dssuser/.cache/selenium/chrome/linux64/125.0.6422.78/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
 
---------------------------------------------------------------------------
SessionNotCreatedException                Traceback (most recent call last)
<ipython-input-2-ec48251f04f8> in <cell line: 1>()
----> 1 driver = webdriver.Chrome()
0 Kudos
gogo
Level 2
Author

I am not able to run pyvirtual display. And how can I install chrome driver into an python code env. Please help.

0 Kudos