Skip to content
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

Topic/argument docs #2308

Merged
merged 10 commits into from
Sep 20, 2022
Merged

Topic/argument docs #2308

merged 10 commits into from
Sep 20, 2022

Conversation

Snooz82
Copy link
Member

@Snooz82 Snooz82 commented Sep 18, 2022

News & Changes:

Following should be backwards compatible:

  • Deprecation of positional arguments for Library Import and New Context
  • Deprecated positional arguments except the first few of New Browser and New Persistent Context
  • Reordered named-only arguments alphabetically
  • Updated all argument docs to be tables.
  • Fixed some bad docs.
  • New data type for switching and selecting browser, context and page. Now supports CURRENT == ACTIVE and ALL == ANY. Not longer case sensitive.

Backwards INCOMPATIBLE changes:

  • Changed arguments for the expected assertion argument from expected_value or expected_state to assertion_expected as on all other getters for the following keywords:
    • Get Checkbox State
    • Get Element Count
    • Get Table Cell Index
    • Get Table Row Index
  • Keyboard Input has now a timedelta as type for the delay argument. Before it was integer in milliseconds
  • Mouse Button has now a timedelta as type for the delay argument. Before it was integer in milliseconds

Bugfixes:

  • New Persistent Context could not use timeout argument set to 0
  • New Context viewport argument can now be ${None} to be able to open full screen browsers.

- get_checkbox_state
- get_element_count
- get_table_cell_index
- get_table_row_index

Changed `keyboard_input` delay from ms to timedelta

Updated all docs.

Fixed some bugs in New Persistent Context

Added Type hint to Switch and Close Keywords
Signed-off-by: René Rohner <snooz@posteo.de>
Signed-off-by: René Rohner <snooz@posteo.de>
…r and New Persistent Context

Signed-off-by: René Rohner <snooz@posteo.de>
Signed-off-by: René Rohner <snooz@posteo.de>
Signed-off-by: René Rohner <snooz@posteo.de>
Signed-off-by: René Rohner <snooz@posteo.de>
Signed-off-by: René Rohner <snooz@posteo.de>
Signed-off-by: René Rohner <snooz@posteo.de>
@Snooz82 Snooz82 force-pushed the topic/argument_docs branch from 8dd8d2a to cccf067 Compare September 20, 2022 06:34
Signed-off-by: René Rohner <snooz@posteo.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants