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

Cleaning up locating windows #966

Closed
pekkaklarck opened this issue Oct 23, 2017 · 0 comments
Closed

Cleaning up locating windows #966

pekkaklarck opened this issue Oct 23, 2017 · 0 comments

Comments

@pekkaklarck
Copy link
Member

pekkaklarck commented Oct 23, 2017

How to locate windows is pretty complicated and not very well documented. There are also lot of undocumented and untested features. This issue covers cleaning up the functionality and, very importantly, documenting it adequately.

As part of the cleanup, undocumented features that are not considered useful are deprecated or removed. Such changes are obviously backwards incompatible, but because these are undocumented features, it's very unlikely that they are used widely. This is the functionality that is going to change:

  • Using Python None or string null or empty string as a locator to select the main window is deprecated. Use documented main (default) instead.
  • Using popup to select the latest new window is deprecated. Use documented new instead.
  • Using self to select the current window is deprecated. Use earlier undocumented but much more explicit current instead.
  • Locating windows by name, title or URL is not case-insensitive anymore.
  • Specifying explicit locator strategy is not case-insensitive anymore.

There area also some enhancements:

@pekkaklarck pekkaklarck added this to the v3.0.0 milestone Oct 23, 2017
pekkaklarck added a commit to pekkaklarck/SeleniumLibrary that referenced this issue Oct 23, 2017
Contains code and test changes related to robotframework#966. Documentation still
missing.
pekkaklarck added a commit to pekkaklarck/SeleniumLibrary that referenced this issue Oct 23, 2017
pekkaklarck added a commit to pekkaklarck/SeleniumLibrary that referenced this issue Oct 23, 2017
Fixes robotframework#966. Documentation cleanup also related to robotframework#925.
@aaltat aaltat closed this as completed in 51e2c2d Oct 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant