selenium - Browser profile which includes the proxy username and password -
i creating , running automated test scripts web application. in 1 of scenarios have, have work proxy. way, using robot framework plus selenium test scripts. did, created separate browser profile selenium runs. problem can't interact credentials pop-up (asking username , password) using robot framework , selenium. there way can configure proxy username , password included in browser profile? or there way robot framework , selenium can interact authentication window? suggestions in solving or ending workaround issue anyone?
thanks!
robot framework seleniumlibrary uses selenium rc internally. proxy authentication can defined when selenium server started, see http://seleniumhq.org/docs/05_selenium_rc.html#proxy-configuration details.
so, if start server manually, follow above instructions. if using start selenium server keyword, can give parameters arguments:
| start selenium server | -dhttp.proxyhost=proxy.com | -dhttp.proxyport=8080 | -dhttp.proxyuser=username | -dhttp.proxypassword=password |
Comments
Post a Comment