Re: Finding the coordinates of the browser alerts

Hi Rajapriya,

Thanks for your email. Unfortunately, this is not the right group. 

I would suggest searching the docs (or contacting the folks) of the software being used to remotely control the browser. 

Kind regards,
Marcos 

> On 25 May 2022, at 5:50 am, Rajapriya Radhakrishnan <rajapriya.jr@gmail.com> wrote:
> 
> Hi Team,
> 
> I'm Rajapriya Radhakrishnan and have some queries specific to browser alerts. As I'm a novice in web browser development, I'm unsure if I have reported my query to the relevant group of w3c. If it is not, please guide me where exactly I need to raise my query.
> 
> The scenario is, I'm working on a project where the browser is controlled remotely as the remote machine is not an user-interactable one. 
> > On the host side, I can find out the browser coordinates where the user is touched and what action(such as tap, double tap) is done. Then the coordinates and the action details will be forwarded to the remote browser. 
> > On the remote side, it will receive that info first, then use the pointer events to control the browser according to the received data.
> 
> NOTE: Please take a look at the attached file (firefox_confirm_dialog_box.png)
> 
> Queries are,
> 1. How to know if there is an alert in the browser page.
> 2. As the height of the alert is set dynamically w.r.t. the description length, I need to find out the dimension and origin points of the alerts. How can I get the origin points (x, y) and dimension(width and height) of an alert?
> 
> Could you please check and help me out on this. If you need any information, please let me know.
> 
> 
> Best Regards,
> Rajapriya R.
> 
> <firefox_confirm_dialog_box.png>

Received on Monday, 30 May 2022 08:22:45 UTC