seleniumhq.github.io icon indicating copy to clipboard operation
seleniumhq.github.io copied to clipboard

[🚀 Feature]: Add Documentation for PrintOptions

Open shbenzer opened this issue 1 year ago • 7 comments

Feature and motivation

From what I've seen, the documentation and use cases for Selenium's PrintOptions class is rather limited. I think the community would benefit from the team expanding on this.

https://www.selenium.dev/selenium/docs/api/java/org/openqa/selenium/print/PrintOptions.html

shbenzer avatar Sep 12 '24 00:09 shbenzer

@shbenzer, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

github-actions[bot] avatar Sep 12 '24 00:09 github-actions[bot]

@harsha509 do you think this should be added to it's own sub-section in the documentation under WebDriver?

shbenzer avatar Oct 08 '24 17:10 shbenzer

or we could add a section on "Augmenting the Webdriver" where we also add documentation for classes like WebStorage, Augmenter, etc.

shbenzer avatar Oct 08 '24 18:10 shbenzer

Hi @shbenzer ,

How about adding new section under Browser interactions named "Print Page"

harsha509 avatar Oct 08 '24 19:10 harsha509

That works!

shbenzer avatar Oct 08 '24 19:10 shbenzer

Closed with #1987

shbenzer avatar Oct 12 '24 13:10 shbenzer

Going to add examples for Python and C# before closing since it's implemented in those languages as well as java. Then put PrintOptions in one section, then actually Printing in another

shbenzer avatar Oct 13 '24 20:10 shbenzer

Can now be closed - other languages are missing implementations. With completion of implementations in other languages, the badge codes should be sufficient

shbenzer avatar Nov 03 '24 23:11 shbenzer