Skip to content

How to disable page's css? #3837

Answered by mdmintz
gehasa asked this question in Q&A
Discussion options

You must be logged in to vote

To remove the CSS, you would have to remove the head element after loading the page.

With the SB() format, there's:

sb.remove_element("head")

With, the Driver() format, you would need to find a driver method that does the same.
(Can probably be done with execute_script() somehow.)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mdmintz
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