Not to solve the OP's problem but to illustrate how you might drive Firefox from Keyboard Maestro, I uploaded the following test macro:
Not to solve the OP's problem but to illustrate how you might drive Firefox from Keyboard Maestro, I uploaded the following test macro: