How do I fetch the app or web page source while running automation test on LambdaTest?

How do I fetch the app or web page source while running automation test on LambdaTest?

Hi Brett M,

You can use the below command to fetch the page source of webpage or app:

driver.getPageSource()