Forum Discussion
Thank you so much for your post. Just one more thing I wanted to know about this.
When I run your code with only print "Hello" it works fine. But when I have the selenium code in it(which opens the browser and configure things on the UI) it does not work. It is strange to me. Do you think I am missing anything here?
Same with the SOAP PRO version, it does not work there either.
Ok, are you able to share your Python script please?
I take it it runs OK if you execute it from a shell outside of SoapUI?
Possibly the way the chrome browser is executed under the shell process is an issue, perhaps a headless browser driver like the PhantomJS one might work better. I am not a Selenium expert, but can take a look.
- chiragverma1239 years agoContributor
Yes when I run it from shell outside SOAPUI, it works fine. Here is the code below:
from selenium import webdriver
driver = webdriver.Chrome()
driver.maximize_window()
driver.get('https://google.Companydata') - chiragverma1239 years agoContributor
Tried using PhantomJS but no luck. Same error, does not run anything