Unless they ask you directly, you don't have to tell them. And
if they do ask you, they can't choose not to hire you because of
your epilepsy. After you are hired, it is probably a good idea to
tell them for safety reasons.
I disagree! For your safety and those around you,tell them!
Should they choose to fire you, sue them for discrimination. A few
restrictions could apply ( for safety) but I would not call
epilepsy a disability to the point of not being able to work. I
have epilepsy, for 22 years, and still working!
When you are applying for employment in Canada (at least in the
teaching profession) you have to inform them about your epilepsy.
It is a health and safety issue. I have epilepsy (for 38 years now)
and found that honesty is the best policy. Once the issue is out in
the open many people are interested in the topic and ask you
questions about it. Just be prepared to reassure employers and
coworkers that it does not affect your work performance.