Tags

, ,

Mark a few Selenium tips:

  1. Generate and Store current date in “YYYYMMDD” format
    Image

    And the javascript code is here:

    javascript{ d=new Date(); d.getFullYear().toString()+((d.getMonth()+1)<10?"0"+(d.getMonth()+1).toString():(d.getMonth()+1))+(d.getDate()<10?"0"+d.getDate().toString():d.getDate().toString()); }
    
  2. Override Untrusted SSL Self Certificates
Advertisements