Re: Finding the coordinates of the browser alerts

Hi Marcos,

Thanks a lot for your information. I will raise my queries in the mentioned
links.


Best,
Rajapriya

On Mon, May 30, 2022 at 1:41 PM Marcos Caceres <caceres_m@apple.com> wrote:

> Hi Rajapriya,
>
> Ah! as it's web-driver based, I would then suggest you file an issue here:
>
> https://github.com/w3c/webdriver
>
> Or you can repost your question to the Browser Testing and Tools Working
> Group:
> https://www.w3.org/testing/browser/
>
> Best of luck!
>
>
> On 30 May 2022, at 6:06 pm, Rajapriya Radhakrishnan <
> rajapriya.jr@gmail.com> wrote:
>
> Hi Marcos,
>
> Thanks for your email. Please see my comments below.
>
> The module which interacts with the browser is a webdriver-based module,
> and I have already checked the webdriver APIs and couldn't make use of
> those APIs in my client-host based project because of below case:
>
> As I mentioned earlier,
> *On the host system, the browser is rendered on a touchscreen display
> (using HDMI/DVI outputs of the system). That touchscreen controls the
> browser. 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 sent to the remote system over the network.*
>
> *On the remote system, the receiver module will receive the coordinates
> and action details, and form the webdriver commands using the received data
> then send the commands to the browser. Please note, the application which
> controls the browser is a webdriver-based module that I develop now.*
>
> We can't use input drivers because there could be multiple browser
> sessions opened for multiple users using different touchscreens.
>
>
> Thanks,
> Rajapriya
>
> On Mon, May 30, 2022 at 5:59 AM Marcos Caceres <caceres_m@apple.com>
> wrote:
>
>> 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:19:13 UTC