Debug tip: Show browser window to identify what's causing errors #232
Pinned
mountaindude
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Background
Do you get errors involving timeouts and selectors when running Butler Sheet Icons (=BSI)?
For example
TimeoutError: waiting for selector '#grid-wrap' failed: timeout 30000ms exceeded
One possible cause of such errors is that the underlying Sense app does not behave as expected.
Maybe the login page does not show up as expected, or a popup in the app causes BSI not to find the expected sheet navigation buttons.
Solution
Add the
--headless false
option when starting BSI.This will show the web browser that BSI uses to interact with Sense. Normally this browser is hidden but it can be made visible by using this command line option.
Carefully watch what happens when starting BSI and where it gets stuck and times out.
Is there something odd going on there? For example:
Note: When using
--headless false
there is a risk that the screen shots taken by BSI will have strange proportions and/or being cropped. Thus, once you have identified and fixed the issue you should re-run BSI with--headless true
again to get proper thumbnails.Beta Was this translation helpful? Give feedback.
All reactions