VineGlobal / selenium-vba

Automatically exported from code.google.com/p/selenium-vba
1 stars 0 forks source link

The execution is getting slower. #137

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Operating system : Windows7 32Bite
.Net Framework version :I do not know.
Office Version :2007
SeleniumWrapper version :Last

What is your issue ?

Good evening. ^. ^ ;;
I am Korean.
I do not speak English.
I am using Google translator to ask questions.

I use the following sources.

'//======= Code Start ===========================================
features = 
"""width=400,height=500,scrollbars=yes,resizable=yes,top=500,left=500,toolbar=ye
s"""
.executeScript "window.open(    
'https://named.com/account/login.php','_blank'," + features + ");"
                hWnds = .WindowHandles
                For N = 0 To UBound(hWnds)
                    .switchToWindow hWnds(N)
                    .wait 1000
                    T = vbNullString
                    T = .url
                    If InStr(T, "room_uid=") = 0 Then
                        .setWindowPosition 100, 150
                        LOGT "로그아웃을 진행합니다."
                        .findElementByLinkText("로그아웃").Click
                        Exit For
                    End If
                Next
'//======= Code End ===========================================

5 Run Chrome is slow.
The execution is getting slower.
Program can not run anymore.

I would like to work faster.

The following sources are too slow starts.

.start "Chrome", vbNullString

I would like to know a better way.
Please help me!

Original issue reported on code.google.com by heesung2...@gmail.com on 9 Feb 2015 at 1:53

GoogleCodeExporter commented 9 years ago
> The following sources are too slow starts.
How long does it take to start?
How many more time does it take compared to a manual launch?

One issue could be that you have a null base url:
Bad: .start "Chrome", vbNullString
Good: .start "Chrome", "https://named.com"

Original comment by florentbr on 18 Feb 2015 at 5:31