Re: [Tutor] really basic question..

2017-08-05 Thread Alan Gauld via Tutor
On 05/08/17 16:48, bruce wrote: > redid a search just now. found a bunch of sites that said it's > doable.. embarrased Just because its doable doesn't mean you should though... Bare except clauses can hide a multitude of sins. Unless its at the top level of your program and you use it to log any

Re: [Tutor] really basic question..

2017-08-05 Thread bruce
Lord... redid a search just now. found a bunch of sites that said it's doable.. embarrased Not sure what I was looking for earlier.. need r u m! On Sat, Aug 5, 2017 at 11:44 AM, bruce wrote: > Hey guys. > > A really basic question. I have the following: > try: > element = WebDri

[Tutor] really basic question..

2017-08-05 Thread bruce
Hey guys. A really basic question. I have the following: try: element = WebDriverWait(driver, 100).until(EC.presence_of_element_located((By.ID, "remarketingStoreId"))) except TimeoutException: driver.close() I was wondering can I do something like the following to han