"visit" API call looks to access the url twice
See original GitHub issueHi,
I started a django dev server, and accessed the top page of the server using by django shell:
from splinter.browser import Browser
browser = Browser('phantomjs')
browser.visit('http://localhost:8080/')
server log is:
[04/Jul/2013 20:31:44] "GET / HTTP/1.1" 200 0
[04/Jul/2013 20:31:44] "GET / HTTP/1.1" 200 0
Why did the “visit” method call access the page twice? It looks bit strange to me.
thanks.
Issue Analytics
- State:
- Created 10 years ago
- Comments:30 (16 by maintainers)
Top Results From Across the Web
Why API is calling twice? [duplicate] - Stack Overflow
I'm using axios whenever I call API it would be called twice as I see in network in chrome devtools in the devtool...
Read more >When I am calling rest api it is calling twice for every request
When I am calling rest api it is calling twice for every request ; string Url, object data, Method method,Hashtable htable) { var...
Read more >Go API receive calls twice when hit through browser
In browser I receive "Hello" which is correct; In golang console prompt I get this log twice: With TLS: Capture.PNG Without TLS: Capture.PNG...
Read more >API calls only once, but wont seem to call the service twice
API URL built into a variable in the code block. So I know the URL is changing as expected. I have logs of...
Read more >Safe Link protection trigger the actual API twice.
The decoded (through https://www.o365atp.com/) URL got triggered at once. Safelink causing the problem to get expired page. Solutions we did ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
We could even default to not fetch, and if
status_code
is retrieved and the option is not passed in correctly, we could throw anAssertionError
and inform that ifstatus_code
is used, you need to passfetch_status_code
.after the https://github.com/cobrateam/splinter/commit/2e5135460610149a1082b2aaca61fffc10beae40 in
0.8
the drivers based on webdriver willraise NotImplementedError
instatus_code