I want to understand for yourself:
2) How to use Selenium with php? I mean I do Have a code on php:
public function Request ()
// 1 -here I do some task...
// 2 -and here I must make a request to the site where I must login and get some data... can I here call the function to Selenium complied with any requests (will do a separate q-tion for example).
// 3 - then this f-tion to back the outcome (e.g. to get something from the site).
// 4 - here I have treated this result.
3) Selenium is doing just requests for urlам which we give him? He can't get any information in particular? For example the json code.. or something and return it? Then how can I solve this problem? Queries can be ~30+ min. (I mean for example using cURL I do a Post request and get the result that is returned and then I can handle, and how does this in Selenium? as I understand it just returns the completed task successfully or not, or am I wrong?)
4) What specific things do I need to install for my task? Use Ubuntu 18.04 hosting. Maybe someone will also advise the php library, as I understand it they have a few.. I want to issue queries through the browser Google chrome.
Just want to say I am new to Selenium so so many questions may seem stupid, immediately sorry.
This task can be solved through much more, I know, but I want to use Selenium, because this is how I see the future, because cURL many sites are firing and ban so many other problems there are in terms of authorization on large sites. I have basic knowledge of php this is another reason why I don't want to use other languages for parsing.