Re: how to press Esc(Escape) key in selenium using webdriver.

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: how to press Esc(Escape) key in selenium using webdriver.

Mani
Hi Kamal,
 
Facing the same problem. Iam using WebDriver. Can u pls tell how your problem got resolved?
 
 Actions action = new Actions(driver);
   action.sendKeys(Keys.ESCAPE);
the above code is also not working on this.
 
Thanks,
Mani.

On Thursday, February 9, 2012 11:13:21 PM UTC+5:30, kamal wrote:
Hi all,

Can anyone tell me how to press Esc key in selenium using webdriver.

I have used selenium.Keypressnative("27"), it works fine in selenium 1
but not in webdriver. i am using Webdriverbackedselenium in my code.
But still it is not working.

It would be very needful if i get reply..


Thanks in advance,
Kamal...

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/93a77bb9-e16e-4f75-bc96-00f7322f1a1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: how to press Esc(Escape) key in selenium using webdriver.

Susovan Dutta
Actions action = new Actions(driver);
   action.sendKeys(Keys.ESCAPE).build.perform;


On Tuesday, March 11, 2014 6:38:55 PM UTC+5:30, Mani wrote:
Hi Kamal,
 
Facing the same problem. Iam using WebDriver. Can u pls tell how your problem got resolved?
 
 Actions action = new Actions(driver);
   action.sendKeys(Keys.ESCAPE);
the above code is also not working on this.
 
Thanks,
Mani.

On Thursday, February 9, 2012 11:13:21 PM UTC+5:30, kamal wrote:
Hi all,

Can anyone tell me how to press Esc key in selenium using webdriver.

I have used selenium.Keypressnative("27"), it works fine in selenium 1
but not in webdriver. i am using Webdriverbackedselenium in my code.
But still it is not working.

It would be very needful if i get reply..


Thanks in advance,
Kamal...

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/92d65916-69ed-43e5-893c-98b625087da2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: how to press Esc(Escape) key in selenium using webdriver.

shadab
If you are using Java you can go with Robot Library.

Robot r = new Robot();
r.keyPress(KeyEvent.VK_ESCAPE);
r.keyRelease(KeyEvent.VK_ESCAPE);

Rgds
Shadaab


On Wed, Mar 12, 2014 at 12:15 AM, Susovan Dutta <[hidden email]> wrote:
Actions action = new Actions(driver);
   action.sendKeys(Keys.ESCAPE).build.perform;


On Tuesday, March 11, 2014 6:38:55 PM UTC+5:30, Mani wrote:
Hi Kamal,
 
Facing the same problem. Iam using WebDriver. Can u pls tell how your problem got resolved?
 
 Actions action = new Actions(driver);
   action.sendKeys(Keys.ESCAPE);
the above code is also not working on this.
 
Thanks,
Mani.

On Thursday, February 9, 2012 11:13:21 PM UTC+5:30, kamal wrote:
Hi all,

Can anyone tell me how to press Esc key in selenium using webdriver.

I have used selenium.Keypressnative("27"), it works fine in selenium 1
but not in webdriver. i am using Webdriverbackedselenium in my code.
But still it is not working.

It would be very needful if i get reply..


Thanks in advance,
Kamal...

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/92d65916-69ed-43e5-893c-98b625087da2%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAN-bRy6%2BWTU3esqrzEj%3DzGpSwDqu%3Dxftw2OYW%3DJ796mPW5mzEg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: how to press Esc(Escape) key in selenium using webdriver.

riponalwasim
Actions action = new Actions(driver);
action.sendKeys(Keys.ESCAPE).build().perform();


On Tue, Mar 11, 2014 at 9:44 PM, Shadaab <[hidden email]> wrote:
If you are using Java you can go with Robot Library.

Robot r = new Robot();
r.keyPress(KeyEvent.VK_ESCAPE);
r.keyRelease(KeyEvent.VK_ESCAPE);

Rgds
Shadaab


On Wed, Mar 12, 2014 at 12:15 AM, Susovan Dutta <[hidden email]> wrote:
Actions action = new Actions(driver);
   action.sendKeys(Keys.ESCAPE).build.perform;


On Tuesday, March 11, 2014 6:38:55 PM UTC+5:30, Mani wrote:
Hi Kamal,
 
Facing the same problem. Iam using WebDriver. Can u pls tell how your problem got resolved?
 
 Actions action = new Actions(driver);
   action.sendKeys(Keys.ESCAPE);
the above code is also not working on this.
 
Thanks,
Mani.

On Thursday, February 9, 2012 11:13:21 PM UTC+5:30, kamal wrote:
Hi all,

Can anyone tell me how to press Esc key in selenium using webdriver.

I have used selenium.Keypressnative("27"), it works fine in selenium 1
but not in webdriver. i am using Webdriverbackedselenium in my code.
But still it is not working.

It would be very needful if i get reply..


Thanks in advance,
Kamal...

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/92d65916-69ed-43e5-893c-98b625087da2%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAN-bRy6%2BWTU3esqrzEj%3DzGpSwDqu%3Dxftw2OYW%3DJ796mPW5mzEg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CADrmqWXjmbW-yrNJsHjaeASfBoUCA%3Da7tmD-SaLsri03SdOSyg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: how to press Esc(Escape) key in selenium using webdriver.

Xiang Dong
In reply to this post by Mani
you can use robot to perform clicking "ESC" button. It will actually click "ESC" like manually do it.


Date: Tue, 11 Mar 2014 06:08:55 -0700
From: [hidden email]
To: [hidden email]
CC: [hidden email]
Subject: [selenium-users] Re: how to press Esc(Escape) key in selenium using webdriver.

Hi Kamal,
 
Facing the same problem. Iam using WebDriver. Can u pls tell how your problem got resolved?
 
 Actions action = new Actions(driver);
   action.sendKeys(Keys.ESCAPE);
the above code is also not working on this.
 
Thanks,
Mani.

On Thursday, February 9, 2012 11:13:21 PM UTC+5:30, kamal wrote:
Hi all,

Can anyone tell me how to press Esc key in selenium using webdriver.

I have used selenium.Keypressnative("27"), it works fine in selenium 1
but not in webdriver. i am using Webdriverbackedselenium in my code.
But still it is not working.

It would be very needful if i get reply..


Thanks in advance,
Kamal...

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/93a77bb9-e16e-4f75-bc96-00f7322f1a1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/BLU174-W13E357F9203EA1223CD9AF90710%40phx.gbl.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: how to press Esc(Escape) key in selenium using webdriver.

Denis Platonov
In reply to this post by shadab
It won't work if you're using RemoteDriver (i.e. Sauce labs or Selenium Grid)

On Tuesday, March 11, 2014 at 9:44:08 PM UTC-7, shadab wrote:
If you are using Java you can go with Robot Library.

Robot r = new Robot();
r.keyPress(KeyEvent.VK_ESCAPE);
r.keyRelease(KeyEvent.VK_ESCAPE);

Rgds
Shadaab


On Wed, Mar 12, 2014 at 12:15 AM, Susovan Dutta <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="auPF6jR_K7cJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">techno...@...> wrote:
Actions action = new Actions(driver);
   action.sendKeys(Keys.ESCAPE).build.perform;


On Tuesday, March 11, 2014 6:38:55 PM UTC+5:30, Mani wrote:
Hi Kamal,
 
Facing the same problem. Iam using WebDriver. Can u pls tell how your problem got resolved?
 
 Actions action = new Actions(driver);
   action.sendKeys(Keys.ESCAPE);
the above code is also not working on this.
 
Thanks,
Mani.

On Thursday, February 9, 2012 11:13:21 PM UTC+5:30, kamal wrote:
Hi all,

Can anyone tell me how to press Esc key in selenium using webdriver.

I have used selenium.Keypressnative("27"), it works fine in selenium 1
but not in webdriver. i am using Webdriverbackedselenium in my code.
But still it is not working.

It would be very needful if i get reply..


Thanks in advance,
Kamal...

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="auPF6jR_K7cJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">selenium-user...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="auPF6jR_K7cJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">seleniu...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/selenium-users/92d65916-69ed-43e5-893c-98b625087da2%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/92d65916-69ed-43e5-893c-98b625087da2%40googlegroups.com?utm_medium\75email\46utm_source\75footer&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/92d65916-69ed-43e5-893c-98b625087da2%40googlegroups.com?utm_medium\75email\46utm_source\75footer&#39;;return true;">https://groups.google.com/d/msgid/selenium-users/92d65916-69ed-43e5-893c-98b625087da2%40googlegroups.com.

For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/c1433758-70fa-4239-8b94-235d7a1b8c3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: how to press Esc(Escape) key in selenium using webdriver.

Sarla Kumari
In reply to this post by riponalwasim
It worked for me. Thanks

On Wednesday, March 12, 2014 at 12:21:14 PM UTC+5:30, Ripon Al Wasim wrote:
Actions action = new Actions(driver);
action.sendKeys(Keys.ESCAPE).build().perform();


On Tue, Mar 11, 2014 at 9:44 PM, Shadaab <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="SPTEP_Ezid8J" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">shaad...@...> wrote:
If you are using Java you can go with Robot Library.

Robot r = new Robot();
r.keyPress(KeyEvent.VK_ESCAPE);
r.keyRelease(KeyEvent.VK_ESCAPE);

Rgds
Shadaab


On Wed, Mar 12, 2014 at 12:15 AM, Susovan Dutta <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="SPTEP_Ezid8J" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">techno...@...> wrote:
Actions action = new Actions(driver);
   action.sendKeys(Keys.ESCAPE).build.perform;


On Tuesday, March 11, 2014 6:38:55 PM UTC+5:30, Mani wrote:
Hi Kamal,
 
Facing the same problem. Iam using WebDriver. Can u pls tell how your problem got resolved?
 
 Actions action = new Actions(driver);
   action.sendKeys(Keys.ESCAPE);
the above code is also not working on this.
 
Thanks,
Mani.

On Thursday, February 9, 2012 11:13:21 PM UTC+5:30, kamal wrote:
Hi all,

Can anyone tell me how to press Esc key in selenium using webdriver.

I have used selenium.Keypressnative("27"), it works fine in selenium 1
but not in webdriver. i am using Webdriverbackedselenium in my code.
But still it is not working.

It would be very needful if i get reply..


Thanks in advance,
Kamal...

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="SPTEP_Ezid8J" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">selenium-user...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="SPTEP_Ezid8J" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">seleniu...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/selenium-users/92d65916-69ed-43e5-893c-98b625087da2%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/92d65916-69ed-43e5-893c-98b625087da2%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/92d65916-69ed-43e5-893c-98b625087da2%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/selenium-users/92d65916-69ed-43e5-893c-98b625087da2%40googlegroups.com.

For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="SPTEP_Ezid8J" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">selenium-user...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="SPTEP_Ezid8J" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">seleniu...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/selenium-users/CAN-bRy6%2BWTU3esqrzEj%3DzGpSwDqu%3Dxftw2OYW%3DJ796mPW5mzEg%40mail.gmail.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/CAN-bRy6%2BWTU3esqrzEj%3DzGpSwDqu%3Dxftw2OYW%3DJ796mPW5mzEg%40mail.gmail.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/CAN-bRy6%2BWTU3esqrzEj%3DzGpSwDqu%3Dxftw2OYW%3DJ796mPW5mzEg%40mail.gmail.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/selenium-users/CAN-bRy6%2BWTU3esqrzEj%3DzGpSwDqu%3Dxftw2OYW%3DJ796mPW5mzEg%40mail.gmail.com.

For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/a7040d4f-31fd-4b30-8a72-72fd4f6e5322%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
G S
Reply | Threaded
Open this post in threaded view
|

Re: how to press Esc(Escape) key in selenium using webdriver.

G S
In reply to this post by Susovan Dutta
Thanks Susovan, that worked for me. :-)
On Tuesday, March 11, 2014 at 6:45:18 PM UTC, Susovan Dutta wrote:
Actions action = new Actions(driver);
   action.sendKeys(Keys.ESCAPE).build.perform;


On Tuesday, March 11, 2014 6:38:55 PM UTC+5:30, Mani wrote:
Hi Kamal,
 
Facing the same problem. Iam using WebDriver. Can u pls tell how your problem got resolved?
 
 Actions action = new Actions(driver);
   action.sendKeys(Keys.ESCAPE);
the above code is also not working on this.
 
Thanks,
Mani.

On Thursday, February 9, 2012 11:13:21 PM UTC+5:30, kamal wrote:
Hi all,

Can anyone tell me how to press Esc key in selenium using webdriver.

I have used selenium.Keypressnative("27"), it works fine in selenium 1
but not in webdriver. i am using Webdriverbackedselenium in my code.
But still it is not working.

It would be very needful if i get reply..


Thanks in advance,
Kamal...

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/b9ae0a43-8c85-4630-bb4f-0a984809beb1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.