No keyword with name '${platforem}.open' found

if i have two .robot files and have the same keyword. if i use one of them, i can write playwright.open, selenium.open.

but if i want to change base on the param i input from command line. such as i give a ${platform}
when i use ${platform}.open
he response FAIL : No keyword with name ‘${platforem}.open’ found.
how to do that to fulfill my requirement. thanks

Try to correct the spelling of platform in you test, you have platforem.

used run keyword to resolve this issue.thanks