In this question How can I get a url from Chrome by Python?, it was brought up that you could grab the url from python in pywinauto 0.6. How is it done?
相关问题
- UrlEncodeUnicode and browser navigation errors
- Browsers render final comma of right-to-left (rtl)
- Improve converting string to readable urls
- Chrome dev tools exact computed value for CSS rule
- Change Chromium icon and “chrome” text to custom i
相关文章
- Is there a way to hide the new HTML5 spinbox contr
- Google Chrome Cache
- how to download a file on Chrome without auto rena
- Do all browsers on iOS use WKWebview or UIWebVIew?
- Why does Google Chrome NOT use cached pages when I
- Calling Chrome web browser from the webbrowser.get
- C# HttpClient.SendAsync always returns 404 but URL
- Prevent $anchorScroll from modifying the url
Using inspect.exe (which is mentioned in Getting Started) you can find Chrome's address bar element, and that its parameter "value" contains the current url.
I found two ways to get this url:
Here's the first way:
Here's the second:
Also if protocol is "http" Chrome removes "http://" prefix. U can add sth like: