1. Add sendkey "alt-f10" to maximize the firefox window.
2. Restroe by removing profile directory(~/.mozilla/)