Skip to content

IsVisible #50

Answered by perrygoy
mackthehack asked this question in Q&A
Feb 24, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hi @mackthehack! Thanks for reaching out, we're still in the phase where it's cool to hear about others using this project. :D

Yes, part of the upgrade to version 4 was to break ScreenPy apart at the Abilities level. IsVisible needs the BrowseTheWeb Ability, which enables using Selenium, so it was moved over to screenpy-selenium. To get access, you'll need to make these changes:

  1. Change your install from screenpy to screenpy[selenium] to install screenpy and screenpy-selenium.
  2. Change these bits from this:
from screenpy.abilities import BrowseTheWeb
from screenpy.resolutions import IsVisible

to

from screenpy_selenium.abilities import BrowseTheWeb
from screenpy_selenium.resolutions import I…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mackthehack
Comment options

@perrygoy
Comment options

Answer selected by mackthehack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants