D
D
Denis99992017-06-27 00:46:00
Python
Denis9999, 2017-06-27 00:46:00

Website not opening on localhost via Selenium Webdriver?

Python code, browser - firefox. The site on localhost manually opens.
This code works: This one doesn't: What could be the problem?
driver.get("https://www.site.com/")
driver.get("http://localhost/site.com")

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Eremin, 2017-06-27
@EreminD

try specifying the port explicitly
like:

localhost:8081/site.com
Or what is it on?
not sure if that will help, but would start with this
A exactly at the end of site.com?
Maybe still
localhost:8081
?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question