c# 4.0 - How to control zooming of browser using c# code -


i using selenium , application writing code has issues. find login object have zoom in 30% approx. , want control using c# code. so, can me this?

you should send hotkeys (ctrl+plus) zooming it:

webelement myrootelement = driver.findelement(by.tagname("html"));  new actions(driver)     .sendkeys(myrootelement, keys.control, keys.add, keys.null)     .perform(); 

Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -