How to Interact (read/write) with a Web Application that Opens Only Inside a Specific Browser

Asked

Viewed 142 times

1

CONTEXT

I use a web application that only works with the IE8 for customer management. So I developed a script for AutoIt to do the job. It works really well and my company thrives.

But recently, the company that owns this web application, announced that the only way to access this web application will be through a new web browser, which was developed specifically to work with this application.

This new browser does not have developer tools to display code like html, javascript, css, etc..

So my bot won’t work properly, because I need to read and write to this page, I can’t trust just the X and Y coordinates , because the data is always changing, dropdowns, confirmation/ error pop-ups, etc.

QUESTION

How can I interact (read / write) with this web application?

  • Read from (main page and pop-up): Text box, select, radiobutton, checkbox, etc.
  • Write / Simulate Click / to (main page and pop-up): Text box, select, radiobutton, checkbox, etc.

NOTE

  • It is not mandatory that the solution works with AutoIt, accepted any solution(I do not need a code ready, just a light, because I searched and found nothing of this type) since it works (read / write).
  • The name of the browser is Ascwebbrowser, but you will not be able to download it, because it is only for business partners owners.

I have no idea, about which tag to include.

  • I find it amazing how people care more about downvoting than suggesting improvement to the question.

  • 1

    Usually the control of which browser is used comes from the information that goes in the header of the request called "User-Agent". In case if you don’t have developer tools, you’ll have to use a network Sniffer to figure out which one you should use. A program you can use to do this is the Wireshark

  • I checked and identified that at the moment, the browser Ascwebbrowser uses as User-Agent "IE" and version "7".

  • You worked it out then?

  • I used Fiddler 4 to "smell" the https requests and he was able to successfully capture the html of this page that I needed to access from it, I used this html in my bot and it worked normally.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.