Closed marianomd closed 3 years ago
How this could help in UI testing, which is the primary use case of Mink?
Also, this is not something that fits in the Mink driver abstraction. So if you want to use that, you should access the Webdriver layer directly.
@aik099 I'm not using it for the primary use case. Mink is a great tool for general browser automation too. @stof Thanks, I'll dig into that.
@marianomd , I don't recall exact method names, but code similar to this should work:
$session->getDriver()->getWdSession()->print();
It would be great if we could print the page to PDF.
php-webdriver has just implemented it