do something on spec
do something on ˈspec(British English, informal) go somewhere without a ticket, an appointment, etc. in the hope that you will be able to get something you want: That restaurant’s very popular. You’ll never get a table if you just turn up on spec.
Spec is short for speculation (= doing something without knowing all the facts).