Home > other >  Python/how to do control over open Chrome to control
Python/how to do control over open Chrome to control

Time:12-16

As title, said most of online is through the use of Chrome DevTools agreement, which allow customers to check and debugging Chrome with selenium,
Open the CMD like this, for example, type the command on the command line:
Chrome. Exe -- -- remote - was debugging - port=9222 - user - data - dir="C: \ selenum \ AutomationProfile"
To specify the first open the browser in their environment and then execute the code to do control has been open the browser,

But!!!!!!!!!! I expect demand is control by ordinary double-click to open the browser to the current page, rather than be to open a browser to operate again,
For example: I am now in the desktop double-clicking opens the Chrome, baidu's page web site home page, so now I just want to use python directly to take over control of the current web page,
  • Related