P Peter Lewis Well-Known Member Licensed User Longtime User Feb 26, 2022 #1 Hi All, I am trying to send a Ctrl-V in Selenium using Alberto's Wrap. This is to past a Picture which is in the Computer's Clipboard. If I presss CTRL-V on the keyboard, then it works. At the Selenium website if shows I should use SendKeys(Keys.Control + "v") Click to expand... Which does not work So I have tried sending ASCII codes , also does not work Below is sending test via xpath which is working B4X: objSelenium.SendKeysByXPath("/html/body/div[1]/div/div[1]/div/div[4]/div/div/div[1]/div/div[2]/div/div/div/div/div[1]/form/div/div[1]/div/div/div[1]/div/div[2]/div[1]/div[1]/div[1]/div/div/div/div/div[2]/div/div/div/div","Enter Text - WORKING ") I did look at using jAWTRobot but it is not suitable for what i want to do And ideas would be appreciated, thank you Last edited: Feb 26, 2022
Hi All, I am trying to send a Ctrl-V in Selenium using Alberto's Wrap. This is to past a Picture which is in the Computer's Clipboard. If I presss CTRL-V on the keyboard, then it works. At the Selenium website if shows I should use SendKeys(Keys.Control + "v") Click to expand... Which does not work So I have tried sending ASCII codes , also does not work Below is sending test via xpath which is working B4X: objSelenium.SendKeysByXPath("/html/body/div[1]/div/div[1]/div/div[4]/div/div/div[1]/div/div[2]/div/div/div/div/div[1]/form/div/div[1]/div/div/div[1]/div/div[2]/div[1]/div[1]/div[1]/div/div/div/div/div[2]/div/div/div/div","Enter Text - WORKING ") I did look at using jAWTRobot but it is not suitable for what i want to do And ideas would be appreciated, thank you