i have written parameters in webpage & applying them by selecting apply button. 
1. apply button is getting clicked for web elements outside frame using below command 
browser1.find_element_by_name("action").click()

apply button not getting clicked when saving the paramters inside a frame of web page using same command
browser1.find_element_by_name("action").click()
I do not know the Python syntax, but in Selenium you have to switch to the frame much like you would switch to a new tab or window before performing your click.
The syntax in Java would be: driver.switchTo().frame();
click() method not working inside a frame in selenium python