Skip to content

Commit

Permalink
Merge pull request #29 from danm1-cmyk/newx
Browse files Browse the repository at this point in the history
updated the xpath for input box for sending messages (2)
  • Loading branch information
Kalebu authored Nov 13, 2021
2 parents fc355c9 + 8c5f13c commit 71bdd8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alright/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def send_message(self, message):
message ([type]): [description]
"""
try:
inp_xpath = '//*[@id="main"]/footer/div[1]/div/div/div[2]/div[1]/div/div[2]'
inp_xpath = '//*[@id="main"]/footer/div[1]/div/span[2]/div/div[2]/div[1]/div/div[2]'
input_box = self.wait.until(
EC.presence_of_element_located((By.XPATH, inp_xpath)))
input_box.send_keys(message + Keys.ENTER)
Expand Down

0 comments on commit 71bdd8d

Please sign in to comment.