How do I log into the remote site via the server on nodejs, enter text into input, then press enter and get the html result code. I read on the Internet about phantomjs. But in phantomjs there is no way to combine this with socket.io and express. Those. I need to have a nodejs server with express and socket.io working for me and to connect to a specific site once a day and take the information after writing text in the field and pressing enter.

  • one
    Well, if not a phantom, then selenium. Well, or do it humanly. - Qwertiy
  • 2
    And you can have more details about which site is it? Maybe you can do the usual request, without emulating a browser. - therainycat
  • therainycat, you were right, everything is much simpler.)) I saw the error No Access-Control-Allow-Origin read on the Internet and began to look for browser emulators. And as soon as I made a post request from nodejs, everything worked right away. Thank you -

0