-
Notifications
You must be signed in to change notification settings - Fork 765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #1459: Add Capture Full Page Screenshot #1762
base: master
Are you sure you want to change the base?
Conversation
Anyone able to review please? |
I am not anymore maintaining this library, ping @emanlove But in my opinion having new keyword is not good idea, just have argument for the existing one is better. |
Thanks for your reply. If there is no new keyword, then is there a way to set the argument to I was using it like this:
|
I agree that an additional separate keyword would not be preferred. One problem I see is adding a parameter to the keyword ( The other issue is that |
So if I understand correctly,
For 2., I've not yet any idea how to do that. Do you have existing code example from which I could learn from? Thanks |
One technique would be to use the hasattr function to check and if if the |
@emanlove Hello, I've finally done the requested changes 😄
Could be used like: *** Settings ***
Library SeleniumLibrary run_on_failure=Capture Full Page Screenshot # […]
# […]
*** Keywords ***
Capture Full Page Screenshot
Capture Page Screenshot full_screen=True Or by using Register Keyword To Run On Failure Capture Full Page Screenshot Thanks for your review |
Hi, is there anything else I can do? Thanks |
Not sure why the CI tests didn't run. Initial quick review doesn't seem to indicate anything. Doing some more in depth looking .. |
Hello |
Please find PR to allow capture full page screenshot. It use the functions linked per @aaltat in #1459 (comment)
This add a new keyword
Capture Full Page Screenshot
. It also add a boolean parameterfull_screen
toCapture Page Screenshot
.