FuckTheWorld / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

Chromedriver failed to install extension. #167

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Launch Chromedriver.
2. Use Webdriver to start a browser with capabilities to install an extension.
3. Observe the error:
WebDriverException: Message: u"'tab_index' missing or invalid" 

ChromeDriver = chromedriver_linux64_23.0.1240.0.zip
Chrome = 24.0.1305.3 (Official Build 163672) dev
OS = Linux

Original issue reported on code.google.com by da...@chromium.org on 30 Oct 2012 at 7:23

GoogleCodeExporter commented 9 years ago
Also happens on Mac now that Google Chrome has been updated to version 24.

Original comment by chris.si...@gmail.com on 12 Jan 2013 at 12:57

GoogleCodeExporter commented 9 years ago
This issue has been fixed by:

https://codereview.chromium.org/11345040/

Original comment by da...@chromium.org on 14 Jan 2013 at 2:45

GoogleCodeExporter commented 9 years ago

Original comment by kkania@chromium.org on 14 Jan 2013 at 4:44

GoogleCodeExporter commented 9 years ago
When is the fixed driver releasing?
It's important to me.

Original comment by edison.h...@gmail.com on 16 Jan 2013 at 7:16

GoogleCodeExporter commented 9 years ago
the issue fixed 2 months,2 weeks ago.but does not release.
i think many people waiting for it.
it is so important to these guys.
it is so complex to compile a driver from source.
i patched it from bin file.it works fine.
someone need it can  download it.
it is based on chromedriver_win_23.0.1240.0 bin file.

someone need modify it by self  could refer to the following code.

org code:
00DE0362  mov     dword ptr [ebp-C], esi
00DE0367  mov     dword ptr [ebp-10], ebx
00DE0368  mov     byte ptr [ebp-20], bl
00DE036B  push    6
00DE036D  push    00EBF8DC                         ;  ASCII "windex"
00DE0372  lea     ecx, dword ptr [ebp-20]
00DE0375  call    00D54BE0
00DE037A  push    ebx
00DE037B  lea     eax, dword ptr [ebp-20]
00DE037E  push    eax
00DE037F  lea     ecx, dword ptr [ebp-70]
00DE0382  call    00D5FEA0
00DE0387  push    ebx
00DE0388  push    edi
00DE0389  lea     ecx, dword ptr [ebp-20]
00DE038C  call    00D53B60

fixed code:

00DE0362  jmp     00EB9AB0
00DE0367  nop
00DE0368  mov     byte ptr [ebp-20], bl
00DE036B  push    6
00DE036D  push    00EBF8DC                         ;  ASCII "windex"
00DE0372  lea     ecx, dword ptr [ebp-20]
00DE0375  call    00D54BE0
00DE037A  push    ebx
00DE037B  lea     eax, dword ptr [ebp-20]
00DE037E  push    eax
00DE037F  lea     ecx, dword ptr [ebp-70]
00DE0382  call    00D5FEA0
00DE0387  push    ebx
00DE0388  push    edi
00DE0389  lea     ecx, dword ptr [ebp-20]
00DE038C  call    00D53B60

00EB9AB0  call    00EB9AB5
00EB9AB5  pop     ecx
00EB9AB6  mov     dword ptr [ebp-C], esi
00EB9AB9  mov     dword ptr [ebp-10], ebx
00EB9ABC  mov     byte ptr [ebp-20], bl
00EB9ABF  push    9
00EB9AC1  lea     ecx, dword ptr [ecx+43]   ;"tab_index"
00EB9AC4  nop
00EB9AC5  nop
00EB9AC6  nop
00EB9AC7  push    ecx
00EB9AC8  lea     ecx, dword ptr [ebp-20]
00EB9ACB  call    00D54BE0
00EB9AD0  push    ebx
00EB9AD1  lea     eax, dword ptr [ebp-20]
00EB9AD4  push    eax
00EB9AD5  lea     ecx, dword ptr [ebp-70]
00EB9AD8  call    00D5FEA0
00EB9ADD  push    ebx
00EB9ADE  push    edi
00EB9ADF  lea     ecx, dword ptr [ebp-20]
00EB9AE2  call    00D53B60
00EB9AE7  mov     dword ptr [ebp-C], esi
00EB9AEA  mov     dword ptr [ebp-10], ebx
00EB9AED  jmp     00DE0368
...
00EB9AF8  ascii   "tab_index",0

base addr: 0xD50000

Original comment by edison.h...@gmail.com on 16 Jan 2013 at 9:26

Attachments:

GoogleCodeExporter commented 9 years ago
Guys, when are you going push new release, with this issue being fixed? It's 
highly critical for automation of our project.

Could you, please, provide the approximate date/week?

Original comment by anton.sa...@gmail.com on 16 Jan 2013 at 3:58

GoogleCodeExporter commented 9 years ago

Original comment by kkania@chromium.org on 16 Jan 2013 at 5:11

GoogleCodeExporter commented 9 years ago
I am running into this issue as well, even with the latest ChromeDriver 
chromedriver_win_26.0.1383.0 and Chrome 24.0.1312.52  update in our automation.

Any ETA on when ChromeDriver with this fix will be available?

Original comment by scom...@gmail.com on 18 Jan 2013 at 10:52

GoogleCodeExporter commented 9 years ago
It's working on my system with the latest chromedriver for Linux and Mac. This 
might be a Windows-only issue, do report that because I imagine there may not 
be adequate testing on Windows.

Original comment by chris.si...@gmail.com on 18 Jan 2013 at 11:43

GoogleCodeExporter commented 9 years ago
New 26 Chromedriver fixed 'tab_index' issue. We are running tests using Linux 
and Windows Chromedrivers.

To scom...@gmail.com and others:
If you still have troubles, check all paths, used in your testing framework. 
Looks like, you're still using old version of Chromedriver.

Original comment by anton.sa...@gmail.com on 20 Jan 2013 at 11:44

GoogleCodeExporter commented 9 years ago
anton,

Works now.  Had something to do with some weird caching in our source control 
handling the chromedriver.exe.

thanks much!
Scott~

Original comment by scom...@gmail.com on 22 Jan 2013 at 7:02

GoogleCodeExporter commented 9 years ago

Original comment by kkania@chromium.org on 13 Mar 2013 at 11:45

GoogleCodeExporter commented 9 years ago

Original comment by samu...@chromium.org on 21 Feb 2015 at 12:27