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.
Answers
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,125 Neuron
It will be helpful if you post the steps you followed and any errors that you are getting.
-
when I ran >>> driver.get(url)
Please provide instructions on how to install chrome webdriver in dataikuError 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()
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,125 Neuron
Please review these older posts and make sure you follow all the recommended steps and tests:
https://community.dataiku.com/t5/Using-Dataiku/Using-selenium-with-a-python-recipe/m-p/19661
-
I am not able to run pyvirtual display. And how can I install chrome driver into an python code env. Please help.