How to Zoom Levels and Highlight a Element with IJavascriptExecutor - Selenium With C# - Session 19

Опубликовано: 05 Октябрь 2024
на канале: Haradhan Automation Library
377
7

How to Zoom Levels and Highlight a Element with IJavascriptExecutor ​- Selenium WebDriver with C# - Session 19:
IJavascriptExecutor jse = (IJavascriptExecutor)driver;
jse.ExecuteScript("document.body.style.zoom=‘2’"); // set zoom level to 2 times

YouTube Channel Link:
https://www.youtube.com/c/HaradhanAut...

Telegram Group:
https://t.me/joinchat/Bv_U1ZHC-5thNmFl

Facebook Page:
  / haradhanautomationlibrary  

LinkedIn Profile:
  / haradhan-pal-181a8326  

Facebook Group:
  / 995593230934871