Skip to content

Update group_site_manager.py #207

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/group_site_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ def _upload_bfmr(self, numbers) -> None:
def _login_bfmr(self) -> WebDriver:
group_config = self.config['groups']['bfmr']
driver = self.driver_creator.new()
self._load_page(driver, "https://buyformeretail.com/login")
self._load_page(driver, "https://bfmr.com/login")
driver.find_element_by_id("email").send_keys(group_config['username'])
driver.find_element_by_id("password").send_keys(group_config['password'])
driver.find_element_by_css_selector('div.bfmr-auth-form-next button').click()
Expand All @@ -619,7 +619,7 @@ def _login_bfmr(self) -> WebDriver:
return driver

def _upload_bfmr_batch(self, driver: WebDriver, numbers: List[str]) -> None:
self._load_page(driver, "https://buyformeretail.com/dashboard")
self._load_page(driver, "https://bfmr.com/dashboard")
# close any modal that may be present
ActionChains(driver).send_keys(Keys.ESCAPE).perform()
time.sleep(1)
Expand Down