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
Post a Comment