Is there a way to take a screenshot of let's say dev tools on different resolutions? For work, we check for all resolutions desktop, tablet, mobile etc. for different things, such as sliders and CTA buttons. Thanks.
@sandeep42472 жыл бұрын
How do we apply getScreenshotAs() concept in the real time because we don't know at which point or step to capture a screen shot in the real time execution?
@QAFox2 жыл бұрын
We generally take screenshots when a Test Automation script fails.
@MustafaExplores2 жыл бұрын
getScreenshotAs() command is not showing at my selenium webdriver. how can i fix? required your help for above.
@QAFox2 жыл бұрын
Yes, you will not find if you assign the object to the variable of WebDriver. Instead use FirefoxDriver driver = new FirefoxDriver(); and you will find using the driver object reference.
@Cyrodiili2 жыл бұрын
How do you copy the screenshot to your clipboard instead?
@190thirumanidinesha3 Жыл бұрын
.copy was not working why? There was show red color underline