jenkins - Selenium Grid2 Print Screen -


i wondering how people have gone getting screenshots selenium grid test. presumably screenshot saved machine selenium node running on, how can common location? ideally want images in work directory in jenkins...

the screenshot saved machine machine you're executing tests on, not grid nodes. not using jenkins, using ruby environment.

#ruby screenshot driver = selenium::webdriver.for :ie driver.get "https://www.google.com" driver.save_screenshot("./screen.png") 

the screenshot stored on machine instantiate webdriver instance of webdriver connects selenium grid. believe there environment variable in jenkins allows set stored. have limited knowledge of jenkins though.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -