Commit 54b37dc
fix ExecuteScript and Actions to handle IWrapsElement appropriately
Using EventFiringWebDriver, element targets and args throw exceptions
when calling ExecuteScript or Actions methods. Fix by casting as
IWrapsElement and checking for wrapped elements first.
Fixes issue #5810.
Signed-off-by: Jim Evans <james.h.evans.jr@gmail.com>1 parent ee93262 commit 54b37dc
2 files changed
Lines changed: 10 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
727 | 727 | | |
728 | 728 | | |
729 | 729 | | |
730 | | - | |
| 730 | + | |
731 | 731 | | |
732 | 732 | | |
733 | 733 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | | - | |
461 | | - | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
462 | 463 | | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
471 | 467 | | |
472 | | - | |
473 | | - | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
474 | 471 | | |
475 | 472 | | |
476 | 473 | | |
| |||
0 commit comments