Skip to content
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

Issue-60 Created get_number_from_contact_name #69

Merged
merged 1 commit into from Oct 28, 2020

Conversation

pyvelkov
Copy link
Contributor

Issue #60 done. Please review and make necessary changes.

@NavpreetDevpuri NavpreetDevpuri merged commit dcf117e into Tithibots:main Oct 28, 2020
@NavpreetDevpuri NavpreetDevpuri linked an issue Oct 28, 2020 that may be closed by this pull request
@NavpreetDevpuri
Copy link
Member

That's how we can come up to know the selector
chrome_VCxScS1ke5

@NavpreetDevpuri
Copy link
Member

NavpreetDevpuri commented Oct 28, 2020

An error. It's because we are passing (By.CSS_SELECTOR, '._3Whw5 > ._1X4JR') to function find_element(), but we need to pass two strings like i did

relement = element.find_element(*selector)

A better way to do that is to use self._wait_for_presence_of_an_element() because we need to wait for that element to appear
ShareX_amzDErd48n

@NavpreetDevpuri
Copy link
Member

Debugging... I paused execution to find python code to do something efficiently
ShareX_94U6NcPiQk

@NavpreetDevpuri
Copy link
Member

mobile number is taking time to load. i.e HTML elements appear first then after few mini seconds the mobile number appears in that element

it is more challenging than I thought 👀

NavpreetDevpuri added a commit that referenced this pull request Oct 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create get_number_from_contact_name() in contact.py
2 participants