From ae0e0e66b59820d272b764898a3140a783ad4dc0 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 30 Jan 2013 11:33:02 +0530 Subject: [PATCH] ... --- recipes/hbr.recipe | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/hbr.recipe b/recipes/hbr.recipe index 742d1605fa..702795109b 100644 --- a/recipes/hbr.recipe +++ b/recipes/hbr.recipe @@ -48,9 +48,9 @@ class HBR(BasicNewsRecipe): pass br.click('#accordion div[tabindex="0"]', wait_for_load=False) f = br.select_form('#signin-form') - f['signin-form:username'] = 'test-account' - f['signin-form:password'] = 'testaccount' - f.submit_control().qwe.evaluateJavaScript('this.click()') + f['signin-form:username'] = username + f['signin-form:password'] = password + br.submit(wait_for_load=False) br.run_for_a_time(30) def map_url(self, url):