Automate Chrome with window handle

104 views Asked by At

I am working on a project in c which i am trying to simulate chrome browsing. my only difficult is to find a way to get links position on screen after i receive a handle to chrome window. anyone knows how to get the links position??

i am familiar with selenium and managed to do so in python but i require to do so in c too.

any ideas?

int wmain()
{
HWND hwnd = NULL;
for (;;)
{
    hwnd = FindWindowEx(0, hwnd, L"Chrome_WidgetWin_1", 0);
    if (!hwnd) 
        break;
    ////Get Links position
}
0

There are 0 answers