You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be awesome if there was a way to make some calls to Phantom's api before specs are run with it.
As a use case example, I have some tests that require scrolling the window, and I can't run them because Phantom by default just grows the window's height to be the height of the whole document, never adding a scroll bar. But if I had access to Phantom's page.viewportSize property, I could set it to what I need before running the tests.
The text was updated successfully, but these errors were encountered:
It would be awesome if there was a way to make some calls to Phantom's api before specs are run with it.
As a use case example, I have some tests that require scrolling the window, and I can't run them because Phantom by default just grows the window's height to be the height of the whole document, never adding a scroll bar. But if I had access to Phantom's
page.viewportSize
property, I could set it to what I need before running the tests.The text was updated successfully, but these errors were encountered: