| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 11 months |
| seen | May 15 at 21:24 | |
| stats | profile views | 1 |
|
Jul 17 |
comment |
Quicker way to assert that an element does not exist It is giving me a type error saying <built-in function id> is not serializable |
|
Jul 17 |
comment |
Quicker way to assert that an element does not exist In python to check if the list is empty you just have to do if not a : where a =[] is a list. That is what i am doing. if not self.driver.find_elements(By.id("fancybox-close")) : |
|
Jul 17 |
comment |
Quicker way to assert that an element does not exist It is just executed once, but it just stalls on the "except" part for 90% of the 1 minute. |
|
Jul 17 |
comment |
Quicker way to assert that an element does not exist Ignacio, this is a great idea. python bindings have a find_elements() and is_displayed(). I am however having trouble with checking if the list is empty or not. I get an error message saying "built in function id is not JSON serializable. Will have to look in it. But otherwise this is a great idea. Thanks! |
|
Jul 16 |
asked | Quicker way to assert that an element does not exist |
|
Jul 11 |
comment |
Rule of thumb for using wait() Yes I thought so but could not find a tag for 'coding practices' or 'best practices' |
|
Jul 11 |
awarded | Scholar |
|
Jul 11 |
accepted | Rule of thumb for using wait() |
|
Jul 10 |
asked | Rule of thumb for using wait() |
|
Jul 3 |
answered | Set attribute of an element using webdriver + python |
|
Jul 3 |
asked | Set attribute of an element using webdriver + python |
|
Jun 22 |
awarded | Supporter |
|
Jun 21 |
awarded | Editor |
|
Jun 21 |
revised |
Why does IE9 running WebDriver scripts gets out of focus if other applications are open? added 839 characters in body |
|
Jun 21 |
asked | Why does IE9 running WebDriver scripts gets out of focus if other applications are open? |
|
May 30 |
awarded | Student |
|
May 30 |
comment |
Iterating through a table : Avoiding stale element exceptions (Webdriver - Python) I am going to try this now. looks like this will work.Thanks! |
|
May 30 |
comment |
Iterating through a table : Avoiding stale element exceptions (Webdriver - Python) Thanks 246! There are 51 login links (non unique. so i cannot save the links in one iteration and then circle through them).There are 51 rows each row with 7 columns. I need to check if condition in column 1 is true then click on link in column 7. |
|
May 29 |
asked | Iterating through a table : Avoiding stale element exceptions (Webdriver - Python) |