S
S
Smilley2015-12-29 13:23:25
C++ / C#
Smilley, 2015-12-29 13:23:25

How to use Selenium with blocked ports?

Good afternoon. Can you please tell me if it is possible to use Selenium web driver without starting the server, because ports blocked? Perhaps there are similar tools that have this feature.
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
X
X-, 2015-12-29
@Smilley

Selenium webdriver uses a local browser (Through these same WebDrives, they are different for each browser). a separate server is not needed.

V
VZVZ, 2015-12-29
@VZVZ

> Perhaps there are similar tools that have this feature.
Well, for example, a sniffer in hand + bare HTTP+HTTPS requests. This is a difficult and never similar, but the most flexible way.
From it is easier - browser engines. For C#, there are already several of them:
www.codeproject.com/Tips/825526/Csharp-WebBrowser-...
And you can also mix: send some requests through the engine, and what you can’t send through it (say input file) or you don’t want to - then send it through it too, but not simulating actions with the DOM, but using XMLHttpRequest! At the same time, all the necessary headers are preserved, unlike bare HTTP requests, where all headers must be manually imitated. Just today this idea came to mind.
PS Bot specialist, reverse engineer, software developer and software architect.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question