Python :: How to open a page in the Non Default browser -
I have a simple to open a locally hosted web site to test CSS in 2 or more browsers The default browser was trying to create the script IE7 and this page opens up fine, but when I try to open a non-default browser like Firefox or Aurora, it fails.
I am using the WebBuser module and have tried so many ways in such a wide variety of sites on the web.
Is it possible and if so?
Matt's right and there is a very useful module to know ...
< P> IDE 2.6.2> gt; & Gt; & Gt; Import sub process & gt; & Gt; & Gt; Chrome = 'c: \ user \ ted \ appdata \ local \ Google \ Chrome app \ Chrome.xa' & gt; & Gt; & Gt; Chrome_args = 'www.rit.edu' & gt; & Gt; & Gt; SpChrome = subprocess.Popen (chrome + '+ + chrome_argus) & gt; & Gt; & Gt; Print spChrome.pid 2124
Comments
Post a Comment