S
S
sswwssww2020-02-19 21:48:11
Python
sswwssww, 2020-02-19 21:48:11

How to remove element .. from DOM?

5e4d829aab53d978824450.png

How to remove selected element? Yuzaya Python + Selenium.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Shvets, 2020-02-20
@sswwssww

On this site, the button click listener was added using jQuery
In this case, you can remove all listeners with
$('#button.number').off()

A
Alexander Aksentiev, 2020-02-19
@Sanasol

Well, how to find it and delete it)
The only question is why, if you want the script not to be executed, then it’s too late, by the time the site loads it will already be executed, and even if you delete it, don’t delete it, nothing will change.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question