In casperJS I'm writing a test to open a URL in popup.
URL be like this [http://ift.tt/1CE7e11{facility_id}/assessments/{assessment_id}/print_preview][1]
I want to get regex for above URL to be use with withPopup(Mixed popupInfo, Function then)
I have tried these regex patterns
- /assessment/
- /assessment$/
- /print_preview/
- /$print_preview$/
Anyone, please help me in creating right regex for above mentioned URL. Thanks in advace.
Aucun commentaire:
Enregistrer un commentaire