# Popup handling in FireWatir

**URL:** <https://rubytalk.org/t/popup-handling-in-firewatir/53337>\
**Category:** ruby-talk\
**Created:** [11 May 2009 08:37 UTC](https://rubytalk.org/t/popup-handling-in-firewatir/53337 "2009-05-11T08:37:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sindhu\_Up](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@Sindhu\_Up](https://rubytalk.org/u/Sindhu_Up)\
**Post date:** [11 May 2009 08:37 UTC](https://rubytalk.org/t/popup-handling-in-firewatir/53337/1 "2009-05-11T08:37:35Z")

</div>

Hi,

I am working on firewatir.and i tried using  
following code to handle popup

> **···**
>
> --------  
> ff.image(:alt , "SUBMIT button").click\_no\_wait  
> ff.click\_jspopup\_button("OK")  
> --------
> 
> But i am getting the error----------NoMethodError: undefined method  
> `click\_jspopup\_button' for #\<FireWatir::Firefox:0x2c39fb8\> from (irb):18
> 
> please help me to handle popup in firewatir.  
> Thanks in advance.
> 
> regards  
> sindhu  
> --  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
